import pygame
pygame.init()
pygame.display.set_caption('ada')  # 游戏标题

win = pygame.display.set_mode((800, 600))  # 窗口尺寸，宽800高600

# 加载图像

xx = pygame.image.load('Tree_Ugly.png')
image = pygame.image.load('squirrel.png')
# 缩放图像
scaled_image = pygame.transform.scale(image, (200, 300))

running = True
win.blit(scaled_image, (0, 0))  # 背景图最先加载，坐标是(left, top)

win.blit(xx, (200, 300))

pygame.display.flip()
while running:

  for event in pygame.event.get():

    if event.type == pygame.QUIT:  # 点击左上角或者右上角的x关闭窗口时，停止程序

      running = False

